
<!-- Start of first page -->
<div data-role="page">

	<div data-role="header" data-theme="b">
		<h1>账户管理</h1>
		<?php echo CHtml::link("主页",array("category/index","view"=>"about"),array("data-icon"=>"home"))?>
	</div>
	<!-- /header -->

	<div data-role="content">

		<div class="ui-body ui-body-e">
			<h3>注意</h3>
			<ul>
				<?php if(empty($success)):?>
				<li>请在下方输入<span style='color: #c00'><?php echo $username;?></span>新的密码！</li>
				<li>带<span style='color: #c00'> * </span>的是必填信息</li>
				<?php endif?>
				<?php if(!empty($success)):?>
				<li><span style='color: green'><?php echo $success;?></span></li>
				<?php endif?>
				<?php if(!empty($error)):?>
				<li><span style='color: #c00'><?php echo $error;?></span></li>
				<?php endif?>
			</ul>
		</div>

		<?php if(empty($success)):?>
		<?php echo CHtml::form('','post',array("data-ajax"=>"false","id"=>"resetpassForm")); ?>
		<input type="hidden" name="id"
			value="<?php echo $id;?>" />
		<input type="hidden" name="safecode"
			value="<?php echo $safecode;?>" />
		<table style='width: 100%'>
			<tr>
				<td><span class='labelspan'>密码<span style='color: #c00'>*</span> </span>
				</td>
				<td>
					<div data-role="fieldcontain">
						<input name="pass" id="Member_pass" type="password" maxlength="45" />
					</div>
				</td>
			</tr>
			<tr>
				<td><span class='labelspan'>密码确定<span style='color: #c00'>*</span> </span>
				</td>
				<td>
					<div data-role="fieldcontain">
						<input name="pass_repeat" id="Member_pass" type="password" maxlength="45" />
					</div>
				</td>
			</tr>
			<tr>
				<td><span class='labelspan'></span></td>
				<td>
					<div data-role="controlgroup" data-type="horizontal">
						<input type='submit' data-icon="check" value='确定' />
					</div>
				</td>
			</tr>
		</table>
		<?php echo CHtml::endForm(); ?>
		<?php endif?>
	</div>
	<!-- /content -->

	<?php $this->renderPartial("//site/footer")?>
	<!-- /footer -->
</div>
<!-- /page -->
